home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Archive / Networking / Network Stream / ReadMe - NetworkStream < prev    next >
Encoding:
PGP Message  |  2000-09-28  |  1.9 KB  |  60 lines  |  [TEXT/ttxt]

  1. -----BEGIN PGP SIGNED MESSAGE-----
  2.  
  3. ReadMe - NetworkStream
  4.  
  5. NetworkStream - Macintosh OpenTransport C++ iostreams network output class
  6.  
  7. Version: 1.0
  8.  
  9. Apple Macintosh Developer Technical Support
  10. Written by:  Vinne Moscaritolo
  11.  
  12. Copyright (work in progress)  Apple Computer, Inc 
  13.  
  14. You may incorporate this sample code into your applications without
  15. restriction, though the sample code has been provided "AS IS" and the
  16. responsibility for its operation is 100% yours.  However, what you are
  17. not permitted to do is to redistribute the source as "DTS Sample Code"
  18. after having made changes. If you're going to re-distribute the source,
  19. we require that you make it clear in the source that the code was
  20. descended from Apple Sample Code, but that you've made changes.
  21.  
  22. NetworkStream is a C++ Stream IO class object for OpenTransport Network I/O.
  23. Written in Metrowerks C++ It implements a TNetworkBuf, TNetworkOStream  and
  24. TNetworkIOStream object.  
  25.  
  26. Although I have implemented the insertion class TNetworkOStream I have not yet
  27. implemented what is needed for the TNetworkIStream class. THis is mostly
  28. because I am unclear how to best handle what happens when you read more data
  29. than is in the buffer. If you support the thread mamanger then I need to
  30. handle the yield/suspend/resume thread issues.
  31.  
  32.  
  33. This code has been extracted from my httpServer Sample.
  34.  
  35. although the project compiles it is really a snippet and isnt nearly ready to
  36. run. examine the main.cp file to understand how to use it.
  37.  
  38.  
  39. I was last able to compile it under CW9.
  40.  
  41.  
  42. good luck
  43.  
  44. *------------
  45. Vinnie Moscaritolo
  46. Apple DTS Sniper
  47. "One Shot..One Kill"
  48.  
  49. http://www.vmeng.com/
  50.  
  51. -----BEGIN PGP SIGNATURE-----
  52. Version: 2.6.2
  53.  
  54. iQCVAwUBMauKV/MF2+rAU+UdAQE0JgQAj2Vx+ual6uqw8eC+ff5bSGbWgFvjjEpB
  55. P7lIZD819dRgs0P1F3/HUOvL61npBz1bDfC5xp8TQ6k1L4Mix1yD4BmYjJnsRgDx
  56. HVZIaCUTDIsEV2JWBvFMoRQEeckrcZqm6I5rUvoryM4n9TYR9HT1kZtFg8v7a5lK
  57. RnlZUOeX07M=
  58. =5x4a
  59. -----END PGP SIGNATURE-----
  60.